package com.sumu.today.models.permission.service;

import com.sumu.today.models.permission.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sumu
 * @since 2021-12-15
 */
public interface UserService extends IService<User> {

    boolean login(User user, HttpServletRequest request);
    boolean register(User user, HttpServletRequest request);

}
